package com.pureut.equipment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.equipment.domain.MaintenanceProject;
import com.pureut.equipment.domain.dto.MaintenanceProjectDto;
import com.pureut.equipment.domain.vo.MaintenanceProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/***
 *
 * Author:保养项目 mapper
 * Date:2023/04/23 13:06
 * @DESC
 */
@Mapper
public interface MaintenanceProjectMapper extends BaseMapper<MaintenanceProject> {

    /**
     * 保养项目列表查询
     */
    List<MaintenanceProjectDto> getList(MaintenanceProjectVo maintenanceProjectVo);

    /**
     * 查看
     */
    MaintenanceProjectDto getMaintenanceProjectView(Long id);

    /**
     *
     */
    List<MaintenanceProjectDto> selectAll(@Param("projects") List<String> projects);
}
